Skip to content

Conditional boot animation implementation#6

Open
kurtbahartr wants to merge 3 commits into
halcyonproject:16.2from
kurtbahartr:16.2-conditional-bootanim
Open

Conditional boot animation implementation#6
kurtbahartr wants to merge 3 commits into
halcyonproject:16.2from
kurtbahartr:16.2-conditional-bootanim

Conversation

@kurtbahartr

@kurtbahartr kurtbahartr commented Jul 3, 2026

Copy link
Copy Markdown

This series of commits implements the base line for conditional boot animation depending on system theme. If the system theme is light, it will show what's in bootanimation.zip. If the system theme is dark, it will show what's in bootanimation-dark.zip.

Previously, this condition was whether ro.boot.theme was 1. It's meant to be set by specific bootloaders, but no bootloader sets this prop from what I can see.

Also wait until persistent props are loaded before showing boot animation so that we don't leave a race condition where sometimes dark boot animation would be shown even when system theme was light. This slightly increases the amount of time bootloader splash is shown, but better safe than sorry.

Should be coupled with halcyonproject/system_sepolicy#1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant